package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.LSZT;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 所属联赛
 */
@Entity
@Setter
@Getter
@ToString
public class FootSsls extends BaseEntity implements Serializable {
    @Column(name = "name", length = 200)
    @NotNull
    private String name;
    @Column(name = "bm", length = 20)
    @NotNull
    private String bm;
    @Column(name = "lszt")
    @NotNull
    private LSZT lszt;
}